package com.ls.markt.model.admin;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Trophy implements Serializable {
    private static final long serialVersionUID = 6508242704923269107L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long trophyId;//关联枚举里的奖杯id

    private Long clubId;

    private Long coachId;//教练id

    private Long season;//赛季

}
